package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicMedicalRx;
import com.zshan.clinic.database.model.ClinicMedicalRxExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicMedicalRxMapper extends SuperMapper {
    long countByExample(ClinicMedicalRxExample example);

    int deleteByExample(ClinicMedicalRxExample example);

    int deleteByPrimaryKey(Long rxId);

    int insert(ClinicMedicalRx row);

    int insertSelective(ClinicMedicalRx row);

    List<ClinicMedicalRx> selectByExample(ClinicMedicalRxExample example);

    ClinicMedicalRx selectByPrimaryKey(Long rxId);

    int updateByExampleSelective(@Param("row") ClinicMedicalRx row, @Param("example") ClinicMedicalRxExample example);

    int updateByExample(@Param("row") ClinicMedicalRx row, @Param("example") ClinicMedicalRxExample example);

    int updateByPrimaryKeySelective(ClinicMedicalRx row);

    int updateByPrimaryKey(ClinicMedicalRx row);
}